
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
Vue.use(plugins)

import cuCustom from './colorui/components/cu-custom.vue'
Vue.component('cu-custom',cuCustom)
//自定义控件---主界面
import cuHome from './pages/home/home.vue'
Vue.component('cu-home',cuHome)
//自定义控件---工作台
import cuWork from './pages/work/work.vue'
Vue.component('cu-work',cuWork)
//自定义控件---我的
import cuMine from './pages/mine/mine.vue'
Vue.component('cu-mine',cuMine)

Vue.config.productionTip = false
Vue.prototype.$store = store

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
// import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif